<div class="div_form" >
    <h1>Customer details:</h1>
    <p><b>ID: </b><?=$row['idcustomers']?></p>
    <p><b>Name: <?=$row['namecustomer']?></b></p>
    
    <p><b>Details: </b></p>
    <div  class="view_detail"><?=$row['details']?></div>
    
    <p><b>Address: </b></p>
    <div class="view_detail"><?=$row['address']?></div>
    
    <p><b>Phone:</b></p>
    <div class="view_detail"><?=$row['phone']?></div>
    
    <p><b>Service Level Agreement: </b></p>
    <div class="view_detail"><?=$row['service_agreement']?></div>
    
    <p><b>IT service using:  </b><?=$it=(($row['service_status']==1)? 'IT service':'None' );?></p>
    <p><b>Sale of equipment:  </b><?=$it1=(($row['project_status']==1)? 'Sale of equipment':'None' );?></p>
    <p><b>Created time:  </b><?=$row['time_create']?></p>
    <p><b>User create:  </b><?=$row['user_name']?></p>
    <p><b>Last update:  </b><?=$row['time_update']?></p>
</div>
<div class="div_form" >
        <h1>Related technical configuration:</h1><br>
        <?if(count($postsconfig)):?>
        <?foreach ($postsconfig as $pc):?>
        <p><a href="index.php?m=manage_configuration&a=view&c_id=<?=$pc['idconfigurations']?>"><?=$pc['configname']?></a></p>
        <?endforeach?>
        <?endif?>
</div>
<div class="div_form" >
        <h1>Related devices:</h1><br>
        <?if(count($postsdevice)):?>
        <?foreach ($postsdevice as $pd):?>
        <p><a href="index.php?m=manage_device&a=view_device&d_id=<?=$pd['iddevices']?>"><?=$pd['namedevice']?></a></p>
        <?endforeach?>
        <?endif?>
</div>